shell_integration/macOS/FileProviderExt: Do not delete an item twice in FileProviderE...
authorClaudio Cambra <claudio.cambra@nextcloud.com>
Tue, 7 Jan 2025 03:50:54 +0000 (12:50 +0900)
committerMatthieu Gallien <matthieu.gallien@nextcloud.com>
Thu, 6 Feb 2025 11:24:09 +0000 (12:24 +0100)
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
shell_integration/MacOSX/NextcloudIntegration/FileProviderExt/FileProviderExtension.swift

index 58b3f1d81f196fe8ae54bb607398fcb1a664df4e..de02d338f1625bc153ea35ca1f3d80667c35b5c4 100644 (file)
@@ -371,7 +371,7 @@ import OSLog
                 removeSyncAction(actionId)
             }
             progress.completedUnitCount = 1
-            completionHandler(await item.delete())
+            completionHandler(error)
         }
         return progress
     }